package com.order.manager.controller.Order;

import com.order.manager.Model.other.RestBean;
import com.order.manager.mapper.OrderSendInfoMapper;
import com.order.manager.service.impl.OrderInfoServiceImpl;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/api/orderSender")
@RestController
public class OrderSendInfoController {

    @Resource
    OrderSendInfoMapper orderSendInfoMapper;

    @Resource
    OrderInfoServiceImpl orderInfoService;

    @RequestMapping("/find/list/{page}/{item}")
    public RestBean orderForSenderFind(@PathVariable int page,@PathVariable int item){
        return RestBean.success(orderInfoService.querySenderFindList(page,item));
    }



}
